<template>
  <div id="app">
    <el-container>
      <el-header>
        <div class="header">
          <h2>员工管理系统</h2>
        </div>
      </el-header>
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </div>
</template>

<style lang="scss">
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#app {
  height: 100%;
}

.el-header {
  background-color: #409EFF;
  color: #fff;
  line-height: 60px;
  
  .header {
    width: 1200px;
    margin: 0 auto;
  }
}

.el-main {
  width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
</style> 